import { BaseService, Service } from "@/utils/request";
@Service("wxapi")
export default class extends BaseService {
  // 活动时间
  getLottery(params) {
    return this.request({
      url: "/getLottery",
      method: "GET",
      params,
    });
  }
  // 奖品列表
  getPrizeList(params) {
    return this.request({
      url: "/getPrizeList",
      method: "GET",
      params,
    });
  }
  // 中奖列表
  loadLottery(data) {
    return this.request({
      url: "/loadLottery",
      method: "POST",
      data,
    });
  }
}
